package com.aorise.model.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @Author:cat
 * @Desicription: 系统配置修改入参实体类
 * @Date:Created in 2019-05-28
 * @Modified By:
 */
@Data
@ApiModel
public class SysConfigEditVO {

    @ApiModelProperty (value = "主键")
    @NotNull(message = "主键不能为空")
    private Integer id;

    @ApiModelProperty (value = "配置项")
    private String conName;

    @ApiModelProperty (value = "值")
    @NotNull(message = "值不能为空")
    private String conValue;

    @ApiModelProperty (value = "类别")
    private Integer conType;

    @ApiModelProperty (value = "状态")
    private Integer state;

    @ApiModelProperty (value = "修改人")
    @NotNull(message = "修改人不能为空")
    private Integer editUser;


    @Override
    public String toString() {
        return "SysConfigEditVO{" +
                "id=" + id +
                ", conName='" + conName + '\'' +
                ", conValue='" + conValue + '\'' +
                ", conType='" + conType + '\'' +
                ", state=" + state +
                ", editUser=" + editUser +
                '}';
    }



}
